/*橙色主题*/
.ym2-theme-orange .border-bottom-primary {border-bottom: 1px solid #ef6940!important;}

/*导航栏公共样式*/
.ym2-theme-orange .layui-nav.layui-bg-gray .layui-this a {color: #ef6940;background-color:rgba(239,105,64,0.08);}
.ym2-theme-orange .layui-nav .layui-this:after,
.ym2-theme-orange .layui-nav-bar {background-color: #ef6940;}

/*侧边导航栏*/
.ym2-theme-orange .ym2-brand {color:#ef6940!important;border-bottom: 1px solid #eee;}
.ym2-theme-orange .layui-nav-tree .layui-nav-item a {color:dimgray!important;}
.ym2-theme-orange .layui-nav-tree .layui-nav-bar {background-color: #ef6940!important;}
.ym2-theme-orange .layui-nav-tree .layui-nav-child dd.layui-this,
.ym2-theme-orange .layui-nav-tree .layui-nav-child dd.layui-this a,
.ym2-theme-orange .layui-nav-tree .layui-this,
.ym2-theme-orange .layui-nav-tree .layui-this>a,
.ym2-theme-orange .layui-nav-tree .layui-this>a:hover {background-color:rgba(239,105,64,0.08)!important;color: #ef6940!important;}
.ym2-theme-orange .layui-nav-tree .layui-nav-child dd.layui-this,
.ym2-theme-orange .layui-nav-tree .layui-this {border-right: 3px solid #ef6940;}
.ym2-theme-orange .layui-nav-itemed>.layui-nav-child {background-color: rgba(250,250,250,.3)!important;}

.ym2-theme-orange .ym2-main-menu.layui-nav {border-radius:0!important;background-color:#ffffff!important;box-shadow: 0 2px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1)!important}
.ym2-theme-orange .ym2-nav-header{/*box-shadow: 8px 16px 36px 0 #eeeeee inset !important;*/ color: dimgray !important;}

/*头部导航栏*/
.ym2-theme-orange .ym2-top-nav {border-bottom: 1px solid #eee;}

/*重写layui样式 - 主题颜色*/
.ym2-theme-orange a{color:#ef6940;}
.ym2-theme-orange a:visited {text-decoration:none;}
.ym2-theme-orange .layui-bg-primary{background-color:#ef6940!important;}
.ym2-theme-orange .layui-font-primary{color:#ef6940!important;}

/* 重写bootstrap - 主题颜色 */
.ym2-theme-orange .badge-primary {background-color: #ef6940; color: #fff;}
.ym2-theme-orange .text-primary {color:#ef6940!important;}
.ym2-theme-orange .btn-primary {color: #fff;background-color: #ef6940;border-color: #ef6940;}
.ym2-theme-orange .btn-primary:hover {color: #fff;background-color: #ef6940;border-color: #eb582a;}
.ym2-theme-orange .btn-primary:focus,
.ym2-theme-orange .btn-primary.focus {color: #fff;background-color: #ef6940;border-color: #eb582a;box-shadow: 0 0 0 0.2rem rgba(239,105,64, 0.5);}
.ym2-theme-orange .btn-primary.disabled,
.ym2-theme-orange .btn-primary:disabled {color: #fff;background-color: #ef6940;border-color: #eb582a;}
.ym2-theme-orange .btn-primary:not(:disabled):not(.disabled):active,
.ym2-theme-orange .btn-primary:not(:disabled):not(.disabled).active,
.ym2-theme-orange .show > .btn-primary.dropdown-toggle {color: #fff;background-color: #ef6940;border-color: #eb582a;}
.ym2-theme-orange .btn-primary:not(:disabled):not(.disabled):active:focus,
.ym2-theme-orange .btn-primary:not(:disabled):not(.disabled).active:focus,
.ym2-theme-orange .show > .btn-primary.dropdown-toggle:focus {box-shadow: 0 0 0 0.2rem rgba(239,105,64, 0.5);}

/*重写layui样式 - 表格*/
.ym2-theme-orange .layui-table-view .layui-table td[data-edit]:hover::after {border-color:#ef6940!important;}
.ym2-theme-orange .layui-table-edit:focus{border-color:#ef6940!important;}
.ym2-theme-orange .layui-table-checked {background-color:rgba(239,105,64,0.02);}
.ym2-theme-orange .layui-table-checked.layui-table-click,
.ym2-theme-orange .layui-table-checked.layui-table-hover {background-color: rgba(239,105,64,0.05);}
.ym2-theme-orange .layui-form-checkbox[lay-skin=primary]>.layui-icon-indeterminate {border-color:#ef6940;}
.ym2-theme-orange .layui-form-checkbox[lay-skin=primary]>.layui-icon-indeterminate:before {background-color: #ef6940;}

/*重写layui样式 - 分页*/
.ym2-theme-orange .layui-laypage .layui-laypage-curr .layui-laypage-em{background-color:#ef6940 !important;}
.ym2-theme-orange .layui-laypage-skip>.layui-input:focus {border-color:#ef6940 !important;}
.ym2-theme-orange .layui-laypage-limits>select:focus {border-color:#ef6940 !important;}
.ym2-theme-orange .layui-laypage a:hover {color: #ef6940;}

/*重写layui样式 - 按钮*/
.ym2-theme-orange .layui-btn:hover{border-color: #ef6940!important;}
.ym2-theme-orange .layui-btn-theme{background-color:#ef6940;}
.ym2-theme-orange .layui-btn-primary{background-color:#fff;}
.ym2-theme-orange .layui-border-theme {border-width: 1px;border-style: solid;border-color: #ef6940!important;color: #ef6940!important;}

/*重写layui样式 - checkbox*/
.ym2-theme-orange .layui-form-checked i,
.ym2-theme-orange .layui-form-checked:hover i{color: #ef6940;}
.ym2-theme-orange .layui-form-checked[lay-skin=primary] i {border-color: #ef6940!important;background-color: #ef6940;color: #fff;}

/*重写layui样式 - layer弹出层*/
.ym2-theme-orange .layui-layer-btn .layui-layer-btn0 {border-color:#ef6940;background-color:#ef6940;}

/*重写layui样式 - laydate插件*/
.ym2-theme-orange .layui-laydate-header i:hover,
.ym2-theme-orange .layui-laydate-header span:hover {color: #ef6940 !important;}
.ym2-theme-orange .layui-laydate-footer .laydate-btns-time:hover,
.ym2-theme-orange .layui-laydate-footer .laydate-footer-btns .laydate-btns-clear:hover,
.ym2-theme-orange .layui-laydate-footer .laydate-footer-btns .laydate-btns-now:hover,
.ym2-theme-orange .layui-laydate-footer .laydate-footer-btns .laydate-btns-confirm:hover {color: #ef6940!important;}
.ym2-theme-orange .layui-laydate-footer span[lay-type=date] {color: #ef6940;}
.ym2-theme-orange .layui-laydate .layui-this,
.ym2-theme-orange .layui-laydate .layui-this>div {background-color: #ef6940!important;}
.ym2-theme-orange .layui-laydate-linkage .layui-laydate-content td.laydate-selected>div {background-color:rgba(239,105,64,0.08)!important;}
.ym2-theme-orange .layui-laydate-content td.laydate-day-now {color: #ef6940;}
.ym2-theme-orange .layui-laydate-content td.laydate-day-now:after{border: 1px solid #ef6940;}
.ym2-theme-orange .laydate-day-mark::after {background-color: #ef6940;}

/* 重写 layui样式 - 表单 */
.ym2-theme-orange .layui-form-radio:hover *,
.ym2-theme-orange .layui-form-radioed,
.ym2-theme-orange .layui-form-radioed>i {color: #ef6940;}
.ym2-theme-orange .layui-form-checked>div,
.ym2-theme-orange .layui-form-checked:hover>div{background-color:#ef6940;}
.ym2-theme-orange .layui-form-checkbox[lay-skin=primary]>div {background: 0 0;}
.ym2-theme-orange .layui-form-checkbox[lay-skin=primary]:hover i{border-color:#ef6940;}
.ym2-theme-orange .layui-form-onswitch{border-color: rgba(239,105,64,0.08);background-color: #ef6940;}
.ym2-theme-orange .layui-input:focus,
.ym2-theme-orange .layui-textarea:focus{border-color:#ef6940!important;box-shadow:0 0 0 3px rgba(239,105,64,0.08);}
.ym2-theme-orange .header-left-border:before {background-color:#ef6940;}

/* 重写layui样式 - 置顶图标 */
.ym2-theme-orange .layui-fixbar .layui-fixbar-top {background-color: #ef6940 !important;}

/* 重写sweetalert - 确认按钮 */
.ym2-theme-orange .swal2-styled.swal2-confirm {background-color: #ef6940 !important;}

/* 更改input[range]默认UI */
.ym2-theme-orange input[type="range"] {-webkit-appearance: none;appearance: none;margin: 0;outline: 0;background-color: transparent;}
.ym2-theme-orange input[type="range"]::-webkit-slider-runnable-track {/* 定义range控件轨道的样式 */height: 4px;background: #eee;}
.ym2-theme-orange input[type="range" i]::-webkit-slider-container {/* 定义range控件容器的样式 */height: 20px;overflow: hidden;}
.ym2-theme-orange input[type="range"]::-webkit-slider-thumb { /* 定义range控件拇指的样式 */
    -webkit-appearance: none;appearance: none;width: 20px;height: 20px;border-radius: 50%;
    background-color: #ef6940;border: 1px solid transparent;margin-top: -8px;
    /* 使用border-image属性给拇指添加渐变边框 */
    border-image: linear-gradient(#ef6940, #ff004e) 0 fill / 8 20 8 0 / 0px 0px 0 2000px;
}

/*重写layui - 选项卡主题*/
.ym2-theme-orange .layui-tab-title .layui-this {color: #ef6940; }
.ym2-theme-orange .layui-tab-brief>.layui-tab-more li.layui-this:after,
.ym2-theme-orange .layui-tab-brief>.layui-tab-title .layui-this:after {border-bottom: 2px solid #ef6940;}
.ym2-theme-orange .layui-tab-brief>.layui-tab-title .layui-this {background-color:rgba(239,105,64,0.08);}
.ym2-theme-orange .layui-tab-column .layui-tab-title .layui-this {background-color:rgba(239,105,64,0.08);color:#ef6940;}

/*重写select2*/
.ym2-theme-orange .select2-container:hover .select2-selection {border-color:#ef6940!important;}
.ym2-theme-orange .select2-results__option--highlighted,
.ym2-theme-orange .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {background-color: #ef6940 !important; color: #fff !important;}

/* 重写bootstrap4轮播图样式 */
.ym2-theme-orange .carousel-indicators .active {background-color: #ef6940;}

/*重写layui样式 - 表格loading*/
.ym2-theme-orange .layui-table-init i {color: #ef6940 !important;}

/* 重写layui 基础菜单 */
.ym2-theme-orange .layui-menu .layui-menu-item-checked:after {border-right:3px solid #ef6940;}
.ym2-theme-orange .layui-menu .layui-menu-item-checked,
.ym2-theme-orange .layui-menu .layui-menu-item-checked2 {background-color:rgba(239,105,64,0.08);!important;color: #ef6940!important;}

/*bootstrap分页*/
.ym2-theme-orange .page-item.active .page-link {background-color: #ef6940;border-color: #ef6940;}
/*文件上传*/
.ym2-theme-orange .file-group .file-item .file.active {border: 3px solid #ef6940;}
.ym2-theme-orange .upload-active-this {background-color: rgba(239,105,64,0.08) !important;border-right: 5px solid #ef6940;}
.ym2-theme-orange .upload-active-this .layui-tree-txt {color: #ef6940 !important;}
/*菜单组件*/
.ym2-theme-orange .menu-active-this {background-color: rgba(239,105,64,0.08) !important;border-right: 5px solid #ef6940;}
.ym2-theme-orange .menu-active-this .layui-tree-txt {color: #ef6940 !important;}